This analysis explores the City of Los Angeles' Employee Payroll Data for 2022. The purpose of this analysis is to understand what the City's workforce currently looks like, and identify gaps in pay and employment. This is crucial to explore given the City's workforce should be representative of its population, and should be paid fairly regardless of race, gender, etc.
1. Importing Libraries and Datasets
2. Data Management and Cleanup
3. Analysis by Gender
4. Analysis by Ethnicity
5. Recommendations & Conclusions
To begin the analysis, we will import the libraries used in this analysis. You may need to install these libraries prior to import.
import requests
import json
import geopandas as gpd
import pandas as pd
import contextily as ctx
import matplotlib.pyplot as plt
import seaborn as sns
import plotly.express as px
from plotly.subplots import make_subplots
import plotly.graph_objects as go
plt.style.use('ggplot')